package com.payment.utils;

/**
 * 常量统一配置的类
 *
 * @author lm
 * @date 2019/11/06
 */
public class Constant {

    public static final String VERSION = "2.0";

    /*支付方式:1-微信支付，2-paypal支付，3-oceanpay支付,0-第三方自行支付*/

    public static final String PAY_WEIXIN = "1";

    public static final String PAY_PAYPAL = "2";

    public static final String PAY_OCEANPAY = "3";

    public static final String PAY_QITA = "0";

    /**
     * 返回码 ** 成功
     */
    public static final String RET_CODE_0000 = "0000";

    //续订的时候可能会出现：<ret_info>订单状态不是未支付</ret_info>

    public static final String RET_CODE_0113 = "0113";

    /*请求iot网关接口：所有的项目都在相同的服务器，相同的局域网，同样的域名之下，所以不请求的时候直接用localhost:端口，这样可以省去请求的带宽*/

    public static final String requestURI = "http://localhost:8085/iot";

    public static final String iot_notify = "/notifyNew";
    /**
     * stripe自动续费描述
     */
    public static final String STRIPE_DESC = "shuqiang.zheng.sg@gmail.com is test-user in Sandbox account";
    /**
     * 创建一次性付费 CreatePaymentIntent接口
     */
    public static final String PAYMENT_INTENT = "/createPaymentIntent/";
    /**
     * SetupIntent接口
     */
    public static final String SETUP_INTENT = "/setupIntent/";
    /**
     * /subscription/directly 接口
     */
    public static final String SUBSCRIPTION_DIRECTLY = "/subscription/directly";
    /**
     * /subscription/cancel 接口
     */
    public static final String SUBSCRIPTION_CANCEL = "/subscription/cancel";

    /**
     * 0的代码
     */
    public static final String CODE_ZERO = "0";
    /**
     * 1的代码
     */
    public static final String CODE_ONE = "1";

    /**
     * 2的代码
     */
    public static final String CODE_TWO = "2";

    /**
     * 3的代码
     */
    public static final String CODE_THREE = "3";

    /**
     * 4的代码
     */
    public static final String CODE_FOUR = "4";

    /**
     * 5的代码
     */
    public static final String CODE_FIVE = "5";

    /**
     * 6的代码
     */
    public static final String CODE_SIX = "6";

    /**
     * 7的代码
     */
    public static final String CODE_SEVEN = "7";

    /**
     * 8的代码
     */
    public static final String CODE_EIGHT = "8";

    /**
     * 9的代码
     */
    public static final String CODE_NINE = "9";

    /**
     * 10的代码
     */
    public static final String CODE_TEN = "10";


}
